<template>
    <div class="cell">
        <div class="cell2">
            <div v-for="item in products" :key='item'>
                <img  class="logos" :src="item.logo">
                <div class="names">{{item.logo_name}}</div>
            </div>
        </div>
    </div>
</template>


<script>
  export default {
    data(){
      return{
        products:[{
            logo:'https://gw.alicdn.com/tfs/TB1OIxTcLc3T1VjSZLeXXbZsVXa-183-144.png?getAvatar=1',
            logo_name:"天猫新品",
        },{
            logo:'https://gw.alicdn.com/tfs/TB1llI3f4n1gK0jSZKPXXXvUXXa-183-144.png?getAvatar=1',
            logo_name:"充值中心",
        },{
            logo:'https://gw.alicdn.com/tfs/TB1LvIxVAvoK1RjSZFDXXXY3pXa-183-144.png?getAvatar=1',
            logo_name:"今日爆款",
        },{
            logo:'https://gw.alicdn.com/tfs/TB1O_AyVwHqK1RjSZFPXXcwapXa-183-144.png?getAvatar=1',
            logo_name:"机票酒店",
        },{
            logo:'https://gw.alicdn.com/tfs/TB19uWKXkCy2eVjSZPfXXbdgpXa-183-144.png?getAvatar=1',
            logo_name:"天猫国际",
        },{
            logo:'https://gw.alicdn.com/tfs/TB19yZJVBLoK1RjSZFuXXXn0XXa-183-144.png?getAvatar=1',
            logo_name:"金币庄园",
        },{
            logo:'https://gw.alicdn.com/tfs/TB1DaMyVpzqK1RjSZFoXXbfcXXa-185-144.png?getAvatar=1',
            logo_name:"饿了么",
        },{
            logo:'https://gw.alicdn.com/tfs/TB16ZYDk4n1gK0jSZKPXXXvUXXa-183-144.png?getAvatar=1',
            logo_name:"阿里拍卖",
        },{
            logo:'https://gw.alicdn.com/tfs/TB1FucwVwHqK1RjSZFgXXa7JXXa-183-144.png?getAvatar=1',
            logo_name:"天猫吃货",
        },{
            logo:'https://gw.alicdn.com/tfs/TB19dcwVyrpK1RjSZFhXXXSdXXa-183-144.png?getAvatar=1',
            logo_name:"淘宝超市",
        },{
            logo:'https://gw.alicdn.com/tfs/TB1nBktVxTpK1RjSZR0XXbEwXXa-183-144.png?getAvatar=1',
            logo_name:"分类",
        },{
            logo:'https://gw.alicdn.com/tfs/TB1CoEwVrvpK1RjSZFqXXcXUVXa-185-144.png?getAvatar=1',
            logo_name:"咸鱼",
        },{
            logo:'https://gw.alicdn.com/tfs/TB1fcOKXkCy2eVjSZSyXXXukVXa-183-144.png?getAvatar=1',
            logo_name:"天猫美食",
        },{
            logo:'https://img.alicdn.com/tfs/TB1FyEazAY2gK0jSZFgXXc5OFXa-183-144.png?getAvatar=1',
            logo_name:"会员中心",
        },]
      }
    }
  }
</script>



<style>
  .cell{
    background-color: #f0f0f0;
  }
  .cell2{
    width: 504px;
    height: 180px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    background-color:rgb(255, 255, 255);
    overflow-y:hidden;
    white-space:nowrap;
  }
  .logos{
    width:61px;
    height:48px;
    margin-left: 10px;
  }
  .names{
    font-size:11px;
    line-height: 15px;
    color: rgb(102, 102, 102);
    margin-top: 4px;
    text-align: center;
  }
</style>
